package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.common.R;
import com.example.demo.common.RPage;
import com.example.demo.entity.allTitles.*;

import java.util.List;

public interface AllTitlesService extends IService<AllTitles> {
    R<RPage<AllTitles>> selAllTitles(AllTitlesSelList allTitlesSelList);

    R<List<AllTitles>> selAllAllTitles(AllTitlesSelAll allTitlesSelAll);

    R<List<AllTitles>> selOnesAllTitles(Integer[] ids);

    R<AllTitles> selOneAllTitles(Integer id);

    R<Boolean> insAllTitles(AllTitlesInsOne allTitlesInsOne);

    R<Boolean> insAllTitless(AllTitlesInsOne[] allTitlesInsOnes);

    R<Boolean> updAllTitles(AllTitlesUpdOne allTitlesUpdOne);

    R<Boolean> updAllTitless(AllTitlesUpdOne[] allTitlesUpdOnes);

    R<Boolean> delAllTitles(Integer[] ids);
}
